package com.whenjun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author whenjun
 * @since 2023-11-15
 */
@TableName("access_log")
@ApiModel(value = "AccessLog对象", description = "")
public class AccessLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String requestId;

    private String accountId;

    private String logContent;

    private LocalDateTime createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getLogContent() {
        return logContent;
    }

    public void setLogContent(String logContent) {
        this.logContent = logContent;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "AccessLog{" +
            "id = " + id +
            ", requestId = " + requestId +
            ", accountId = " + accountId +
            ", logContent = " + logContent +
            ", createTime = " + createTime +
        "}";
    }
}
